  {foreach from=$goods_list item=goods_item}
    {foreach from=$goods_item item=goods}
    <div class="gmg">
      {if $need_image}
<div class="gi"><a href="{$goods_url}{$goods.goods_id}" target="_blank"><img src="{$url}{$goods.goods_thumb}" alt="{$goods.goods_name}" /></a></div>
      {/if}
<a href="{$goods_url}{$goods.goods_id}" target="_blank" class="gn">{$goods.goods_name}</a>
<div class="gp1 mbt10"><span class="shop_price"><b>{$goods.goods_price}</b></span><span class="buy"><a href="{$goods_url}{$goods.goods_id}" target="_blank">立即购买</a></span>
<div class="clear"></div>
</div>
   </div> {/foreach}
 {/foreach}
